Replication Files for "Immigration Policies and Access to the Justice System: The Effect of Enforcement Escalations on Undocumented Immigrants and Their Communities"
by Reva Dhingra, Mitchell Kilborn, Olivia Woldemikael

Forthcoming in Political Behavior 

##########################################################################################
####################################################################################################################################################################################

# Overview
 
	This file describes all of the datasets and scripts necessary to replicate the results presented in "Immigration Policies and Access to the Justice System: The Effect of Enforcement Escalations on Undocumented Immigrants and Their Communities" by Dhingra, Kilborn, and Woldemikael

# Instructions

	To replicate all analyses in manuscript, execute RunAnalysis.R which must be in the same folder as the data sources listed below. The file will set the working directory to its folder location. Detailed descriptions of the creation of each dataset used in the paper are presented as they are loaded in RunAnalysis.R	

# Software

	All analysis was undertaken in R version 4.0.2. 
	Platform: x86_64-apple-darwin17.0 (64-bit). 
	Required R packages include lfe, lubridate, MatchIt, scales,stargazer, tidyverse, and xtable.

# Computing
	Analyses were conducted with macOS Catalina 10.15.6. Processor: 2.3 GHz 8-Core Intel Core i9 Installed memory (RAM): 16.0 GB. System: 64-bit Operating System, x64-based processor.




# Scripts

	RunAnalysis.R includes code to replicate all figures and tables in 	manuscript. It starts by loading all necessary R packages and data files, and then proceeds to replicate all analyses in the same order as they are presented in the text.


# Data

	ucr_dat2.RDS combines county-level ACS demographic and economic	variables with UCR crime indices. 

 	nhgis0011_ds234_20175_2017_county.csv contains ACS estimates for county-level foreign born population.
	
	ILRC2017Score.RDS contains data on ILRC coding of county law		enforcement cooperation with ICE for 2017.

	NCVS_PERSONAL_VICTIMIZATION_2013-2017.csv contains the National Crime	 Victimization Survey from 2013-2017 subset to victimized individuals.
	
	SC_Analysis.RDS contains ACS demographic variables combined with monthly crime statistics and TRAC data on deportations under the Secure Communities program.
		